#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time         : 17-11-23 下午2:58
# @Author       : xiaohan
# @File         : java.py
# @desc         :
text = '亲爱的{name},您购买的{xx}套餐,还有{attr}就过期了,请及时续费'

print(text.format(name='哈哈',xx='大保剑',attr = '1小时'))